perm filename A73.TEX[106,PHY] blob sn#807768 filedate 1985-11-20 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00002 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	\magnification\magstephalf
C00004 ENDMK
C⊗;
\magnification\magstephalf
\input macro.tex
\def\today{\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
  \space\number\day, \number\year}
\baselineskip 14pt
\rm
\line{\sevenrm a73.tex[106,phy] \today\hfill}

\bigskip
\disleft 38pt::
{\bf Exercise in recursion.}

\disleft 38pt::
Let $p(x)$ be a polynomial, $p'(x)$ its derivative. Let $r↓1,r↓2,\ldots,r↓k$
be the real roots of~$p'(x)$ in increasing order, and define $r↓0=-∞$,
$r↓{k+1}=+∞$. If $p(r↓1)$ and~$p(r↓{i+1})$ have the same sign, $p(x)$~has no
real roots in the interval $(r↓i,r↓{i+1})$; if they have opposite signs,
$p(x)$~has exactly one root in $(r↓i,r↓{i+1})$, and the root is readily
found by the bisection algorithm. Design a recursive procedure to find
all the  real roots of a polynomial based on the above.

\disleft 38pt::
Simplify by getting the real roots in a finite interval.



\bigskip
\parindent0pt
\copyright 1984 Robert W. Floyd

First draft (not published) December 4, l980.

\end